const { ccclass, property } = cc._decorator;

@ccclass
export default class RollingNotice extends cc.Component {
    private RollingNotice: cc.Node;
    private maskNode: cc.Node;
    private firstNode: cc.Node;
    private fLabel: cc.Node;
    private headMask: cc.Node;
    private headframe: cc.Node;
    private messageRichText: cc.Node;
    private RICHTEXT_CHILD: cc.Node;
    private secondNode: cc.Node;

    onLoad() {
        this.RollingNotice = this.node;
        this.maskNode = this.RollingNotice.getChildByName("maskNode");
        this.firstNode = this.maskNode.getChildByName("firstNode");
        this.fLabel = this.firstNode.getChildByName("fLabel");
        this.headMask = this.firstNode.getChildByName("headMask");
        this.headframe = this.headMask.getChildByName("headframe");
        this.messageRichText = this.firstNode.getChildByName("messageRichText");
        this.RICHTEXT_CHILD = this.messageRichText.getChildByName("RICHTEXT_CHILD");
        this.secondNode = this.maskNode.getChildByName("secondNode");
    }
}
